/**
 * 
 */
package ru.cargobroker.workbench.registry.services;

import java.util.List;

import ru.cargobroker.workbench.registry.domain.PerspectiveDescriptor;

/**
 * @author M.Frendiy
 * @since 0.1.0
 */
public interface PerspectiveRegistry {
	
	List<PerspectiveDescriptor> getPerspectives();
	
	/**
	 * @param perspectiveId
	 * @return if found then {@link PerspectiveDescriptor} else null
	 */
	PerspectiveDescriptor findPerspectiveById(String perspectiveId);
	
	/** @param desc */
	void addPerspective(PerspectiveDescriptor desc);
}
